package com.brillilab.dao.mapper.space;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.brillilab.domain.po.space.Device;
import com.brillilab.domain.vo.inventory.PanelInventoryCount;
import com.brillilab.domain.vo.lock.ItemLock;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author wuzhiyu
 * @Title: DeviceMapper
 * @ProjectName brill_lab
 * @Description: deviceMapper
 * @date 2018/11/1310:17
 */
public interface DeviceMapper extends BaseMapper<Device> {
    Integer insertNotUseDeviceList(List<Device> list);
    List<PanelInventoryCount> getPanelInventoryCountList(Long deviceId);
    List<ItemLock> selectDeviceLockMapByInvIds(@Param("invIds") List<Long> invIds);
    List<ItemLock> selectDeviceLockMapByUsageIds(@Param("usageIds") List<Long> usageIds);
    List<Long> getAioBindRoomIdList(@Param("id") Long id);
}
